var SceneEnd = function(game) {
    var s = {

    }
    s.draw = function () {
        game.ctx.fillText('游戏结束, 按 r 返回首页', 100, 200);

    }
    s.update = function () {

    }
    game.registerAction('r', function () {
        var scene_title = SceneTitle(game)
        game.replaceScene(scene_title)
        titleMessage.fire({ 'type': 'MESSAGE', 'message': 'Game Ready' })
    })
    return s
}